package com.it.controller;

import com.it.domain.dto.LoginDto;
import com.it.response.ResponseResult;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;

@RestController
@RequestMapping("/auth")
@RequiredArgsConstructor
public class AuthController {

    /**
     * 系统用户登录
     */

    @PostMapping("/login")
    public ResponseResult sysLogin(@RequestBody LoginDto loginDto){

        return ResponseResult.success("aaaa");

    }
}
